<div class="box">
    <div class="box-header">
        <h3 class="box-title"></h3>
        <div class="pull-right">
            <div class="form-inline pull-right">
                <form action="{{admin_url('crm_gongyingshang')}}/chengjiao" id="chengjiao" method="post">
                    <fieldset>
                        {{ csrf_field() }}
                        <div class="input-group input-group-sm">
                            <span class="input-group-addon"><strong>品牌名称</strong></span>
                            <input type="text" class="form-control"  placeholder="品牌名称" name="supplier_logoname" value="">
                        </div>
                        <div class="input-group input-group-sm">
                            <span class="input-group-addon"><strong>公司名称</strong></span>
                            <input type="text" class="form-control"  placeholder="公司名称" name="supplier_name" value="">
                        </div>
                        <div class="input-group input-group-sm">
                            <span class="input-group-addon"><strong>下单日期</strong></span>
                            <input type="text" class="form-control" id="order_lvyoudate_start" placeholder="下单日期" name="order_lvyoudate[start]" value="">
                            <span class="input-group-addon" style="border-left: 0; border-right: 0;">-</span>
                            <input type="text" class="form-control" id="order_lvyoudate_end" placeholder="下单日期" name="order_lvyoudate[end]" value="">
                        </div>
                        <div class="btn-group btn-group-sm">
                            <button type="submit" class="btn btn-primary"><i class="fa fa-search"></i></button>
                            <a href="http://crm.com/admin/crm_gongyingshang?_pjax=%23pjax-container" class="btn btn-warning"><i class="fa fa-undo"></i></a>
                        </div>
                    </fieldset>
                </form>
            </div>
        </div>
    </div>
    <!-- /.box-header -->
    <div class="box-body table-responsive no-padding">
        <table id="table" class="table table-hover">
            <tbody>
                <tr>
                    <th>品牌名称</th>
                    <th>公司名称</th>
                    <th>游客人数</th>
                    <th>实付</th>
                </tr>
                @foreach($list['list'] as $value)
                <tr>
                    <td>{{$value->supplier_logoname}}</td>
                    <td>{{$value->supplier_name}}</td>
                    <td>{{$value->renshu}}</td>
                    <td>{{$value->dakuan}}</td>
                </tr>
                @endforeach
            </tbody>
        </table>
    </div>
</div>
<script>

    $(function () {
        $('#order_lvyoudate_start').datetimepicker({"format":"YYYY-MM-DD HH:mm:ss","locale":"zh_CN"});
        $('#order_lvyoudate_end').datetimepicker({"format":"YYYY-MM-DD HH:mm:ss","locale":"zh_CN","useCurrent":false});
        $("#order_lvyoudate_start").on("dp.change", function (e) {
        $('#order_lvyoudate_end').data("DateTimePicker").minDate(e.date);
        });
        $("#order_lvyoudate_end").on("dp.change", function (e) {
            $('#order_lvyoudate_start').data("DateTimePicker").maxDate(e.date);
        });
    })
</script>